/*
 * RefreshUserCenterPointEvent.java
 * business
 *
 * Created by ChenTao on 2016/10/22.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.event;

/** 通过推送刷新个人中心红点的Event */
public class RefreshUserCenterPointEvent {

    //    /**
    //     * 新的优惠推送
    //     */
    //    private boolean newBonusMessage;

    /** 新的代理商订单推送 */
    private boolean newAgentMessage;

    /** 新的报价信息推送 */
    private boolean newOfferMessage;

    public RefreshUserCenterPointEvent(boolean newAgentMessage, boolean newOfferMessage) {
        //        this.newBonusMessage = newBonusMessage;
        this.newAgentMessage = newAgentMessage;
        this.newOfferMessage = newOfferMessage;
    }

    //    public boolean isNewBonusMessage() {
    //        return newBonusMessage;
    //    }
    //
    //    public void setNewBonusMessage(boolean newBonusMessage) {
    //        this.newBonusMessage = newBonusMessage;
    //    }

    public boolean isNewAgentMessage() {
        return newAgentMessage;
    }

    public void setNewAgentMessage(boolean newAgentMessage) {
        this.newAgentMessage = newAgentMessage;
    }

    public boolean isNewOfferMessage() {
        return newOfferMessage;
    }

    public void setNewOfferMessage(boolean newOfferMessage) {
        this.newOfferMessage = newOfferMessage;
    }
}
